<extend name="Public/base"/>
<block name="sidebar">
    <include file="sidemenu"/>
</block>
<block name="body">
    <div class="main-title">
        <h2>{$order['name']}---订单预览</h2>
    </div>
    <div class="tab-wrap">
        <div class="tab-content">
            <div class="tab-pane in">
                <!--第一层节点-->
                <volist name="roots" id="first">
                    <dl class="checkmod">
                        <dt class="hd">
                            <label>{$first['name']}</label>
                        </dt>
                        <dd class="bd">
                            <notempty name="first['child']">
                                <!--第二层节点-->
                                <volist name="first['child']" id="second">
                                    <div>
                                        <label class="">{$second['name']}</label>
                                        <notempty name="second['child']">
                                            <span class="divsion"></span>
                                            <!--第三层节点-->
                                            <span class="child_row">
                                                <foreach name="second['child']" item="third">
                                                    <label class="">{$third['name']}
                                                    <notempty name="third['type']">
                                                        <input type="{$third['type']}" name="ans_{$second['id']}" placeholder="{$third['remark']}">
                                                        <span class="divsion"></span>
                                                    </notempty>
                                                    </label>
                                                </foreach>
                                            </span>
                                        </notempty>
                                    </div>
                                </volist>
                            </notempty>
                        </dd>
                    </dl>
                </volist>
            </div>
        </div>
    </div>
    <div>
        <a class="btn" href="{:U('Order/roots?id='.$order['id'])}">返回</a>
    </div>
</block>
